package com.cc.micro.api.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 充值记录表
 * </p>
 *
 * @author cc
 * @since 2023-07-01
 */
@Data
@ApiModel("用户充值记录")
public class RechargeRecord implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty("充值记录标识")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("用户id")
    @TableField(value = "uid")
    private Integer uid;
    @ApiModelProperty("充值订单号")
    @TableField(value = "recharge_no")
    private String rechargeNo;
    @ApiModelProperty("充值订单状态（0充值中，1充值成功，2充值失败）")
    @TableField(value = "recharge_status")
    private Integer rechargeStatus;
    @ApiModelProperty("充值金额")
    @TableField(value = "recharge_money")
    private BigDecimal rechargeMoney;
    @ApiModelProperty("充值时间")
    @TableField(value = "recharge_time")
    private LocalDateTime rechargeTime;
    @ApiModelProperty("充值描述")
    @TableField(value = "recharge_desc")
    private String rechargeDesc;
    @ApiModelProperty("支付方式")

    @TableField(value = "channel")
    private String channel;


}
